package com.baidu.bean;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.Objects;
@Component("Car")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Car {
    @Value("兰博基尼")
    private String name;
    private Engine engine;


}
